package com.yuanqi.Common.Pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yuanqi.Common.Pojo.common;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * (Post)表实体类
 *
 * @author makejava
 * @since 2024-10-23 09:48:38
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("post")
public class Post extends common {

    private Integer id;
//发布人
    private Long userId;

    private String title;

    private String titlepic;

    private String content;

    private Integer sharenum;

    private String path;
//0 图文 1分享
    private Long type;

    private Long createTime;

    private Integer postClassId;

    private Integer shareId;
//1开放，2仅自己可见
    private Integer isopen;


}

